package ru.pb.game.dao;

import java.sql.Connection;

import ru.pb.game.objects.model.players.Player;

public interface PlayerDAO
{
	boolean insert(Player player);

	Player select(String acc);

	void update(Player player, boolean fast, boolean isCreate);

	void updateOnline(Player player);

	int getMoney(String acc, Connection con);

	void updateMoney(String acc, int money, Connection con);
}
